package server;


import java.util.*;

public class Host{
        private String name;
        private String appBase;
        private List<Context> contexts;//应用上下文

        Host(String name, String appBase){
            this.name=name;
            this.appBase=appBase;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAppBase() {
            return appBase;
        }

        public void setAppBase(String appBase) {
            this.appBase = appBase;
        }


    public List<Context> getContexts() {
        return contexts;
    }

    public void setContexts(List<Context> contexts) {
        this.contexts = contexts;
    }
}